FileGetEOF function

Syntax
FileGetEOF refNum

Description
Returns the end-of-file (length) of a file opened with FileOpen.

Examples
Variable theFile, refNum, theLength
theFile = (FindFolder "desk") & "FileIO Demo"
File(theFile).Text = "This is some text in the FileIO Demo file."
refNum = FileOpen theFile
theLength = FileGetEOF refNum
Message "The file contains " & theLength & " bytes of data."
FileClose refNum

See Also
Using the FileIO extension (page 136)

Author Info
FileGetEOF, part of FileIO Extension
Copyright © 1998 Life OnLine Software (lr). All rights reserved.